package com.example.rxjava2;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/3/12/012.
 */

public class News implements Serializable {


    @Override
    public String toString() {
        return "News{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", newslist=" + newslist +
                '}';
    }

    /**
     * code : 200
     * msg : success
     * newslist : [{"ctime":"2018-03-12 00:00","title":"男友月薪8000，连根甘蔗都不舍得买！","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p0.ifengimg.com/fck/2018_11/14e8ad0abd3c4d6_w500_h357.gif","url":"http://news.ifeng.com/a/20180312/56653972_0.shtml"},{"ctime":"2018-03-12 00:00","title":"10岁男孩嫌爷爷唠叨离家出走 零下20多度体验荒野求生","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p0.ifengimg.com/pmop/2018/0312/4E8C46BF6F1729A5B7506A3C6C612BF24BB02FC5_size11_w391_h250.jpeg","url":"http://news.ifeng.com/a/20180312/56663299_0.shtml"},{"ctime":"2018-03-12 00:00","title":"男子骑共享单车摔倒受伤 称行驶中自行车突然上锁","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p0.ifengimg.com/fck/2018_11/1bd69506a63ae85_w428_h240.gif","url":"http://news.ifeng.com/a/20180312/56652506_0.shtml"},{"ctime":"2018-03-12 00:00","title":"小伙撞伤人后逃逸 患癌母亲怒训：去跪倒给人认错","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p1.ifengimg.com/fck/2018_11/468860da75ff925_w576_h317.jpg","url":"http://news.ifeng.com/a/20180312/56652528_0.shtml"},{"ctime":"2018-03-12 00:00","title":"企业\u201c优秀员工\u201d年会红白酒混喝 豪饮3斤后中毒身亡","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p0.ifengimg.com/fck/2018_11/1bd69506a63ae85_w428_h240.gif","url":"http://news.ifeng.com/a/20180312/56651694_0.shtml"},{"ctime":"2018-03-12 00:00","title":"深圳女子\u201c借名买房\u201d 近千万房产被查封！","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p1.ifengimg.com/fck/2018_11/468860da75ff925_w576_h317.jpg","url":"http://news.ifeng.com/a/20180312/56651804_0.shtml"},{"ctime":"2018-03-12 00:00","title":"女孩和病重爷爷拍婚纱照 还把爷爷头像纹在胳膊上","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p1.ifengimg.com/fck/2018_11/3cd1ba4f5dc9090_w600_h600.jpg","url":"http://news.ifeng.com/a/20180312/56651581_0.shtml"},{"ctime":"2018-03-11 00:00","title":"花钱就得奖？\u201c山寨社团\u201d办少儿比赛敛财！","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p0.ifengimg.com/pmop/2018/0311/4373BB5EABFA0B15C145887ADBAB1A5744C0292E_size66_w692_h389.jpeg","url":"http://news.ifeng.com/a/20180311/56650879_0.shtml"},{"ctime":"2018-03-11 00:00","title":"男子网上散布涉南京大屠杀极端言论 这次为何是刑拘","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p2.ifengimg.com/a/2018_11/b85ed3144edc211_size23_w337_h375.jpg","url":"http://news.ifeng.com/a/20180311/56649206_0.shtml"},{"ctime":"2018-03-11 00:00","title":"\u201c情趣镇\u201d女工，一群离\u201c风情\u201d最近的人","description":"凤凰社会","picUrl":"http://d.ifengimg.com/w150_h95/p0.ifengimg.com/pmop/2018/0311/248629C29FFE6E4C9B8830824D2633BD93D7AEA4_size27_w800_h450.jpeg","url":"http://news.ifeng.com/a/20180311/56647344_0.shtml"}]
     */

    private int code;
    private String msg;
    private List<NewslistBean> newslist;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<NewslistBean> getNewslist() {
        return newslist;
    }

    public void setNewslist(List<NewslistBean> newslist) {
        this.newslist = newslist;
    }

    public static class NewslistBean {
        @Override
        public String toString() {
            return "NewslistBean{" +
                    "ctime='" + ctime + '\'' +
                    ", title='" + title + '\'' +
                    ", description='" + description + '\'' +
                    ", picUrl='" + picUrl + '\'' +
                    ", url='" + url + '\'' +
                    '}';
        }

        /**
         * ctime : 2018-03-12 00:00
         * title : 男友月薪8000，连根甘蔗都不舍得买！
         * description : 凤凰社会
         * picUrl : http://d.ifengimg.com/w150_h95/p0.ifengimg.com/fck/2018_11/14e8ad0abd3c4d6_w500_h357.gif
         * url : http://news.ifeng.com/a/20180312/56653972_0.shtml
         */



        private String ctime;
        private String title;
        private String description;
        private String picUrl;
        private String url;

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
